package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.admin.dtos.ChannelDTO;

public interface AdChannelService extends IService<AdChannel> {

    //根据名称分页查询频道列表
    public ResponseResult findByNameAndPage(ChannelDTO dto);

    //频道新增
    ResponseResult insert(AdChannel adChannel);

    //频道修改&频道有效无效设置
    ResponseResult update(AdChannel adChannel);

    //频道删除
    ResponseResult deleteById(Integer id);
}